package com.hequ.merchant.banner.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 戴文龙 on 2014/12/29.
 */
public class Page<Entity extends Serializable> implements Serializable{

    private int status;
    private Entity result;
    private List<Entity> results = new ArrayList<Entity>(0);
    private String exception;
    private Paging paging;
    private long timestamp;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Entity getResult() {
        return result;
    }

    public void setResult(Entity result) {
        this.result = result;
    }

    public List<Entity> getResults() {
        return results;
    }

    public void setResults(List<Entity> results) {
        this.results = results;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    public Paging getPaging() {
        return paging;
    }

    public void setPaging(Paging paging) {
        this.paging = paging;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
}
